package com.miao.goods.feignbo;

import com.miao.commonn.utils.R;
import com.miao.commonn.vo.RecordingVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author 武者
 * @title: FeignBargain
 * @projectName miaosha
 * @description:
 * @date 2022/3/13 20:11
 */
@FeignClient("bargain")
public interface FeignBargain {

    @RequestMapping("/bargain/recording/findlist")
    public List<RecordingVo> findlist(@RequestParam Integer boid);

    @RequestMapping("/bargain/bargain/info")
    public R info1(@RequestParam Integer bid);

    @RequestMapping("/bargain/recording/save")
    public R save(@RequestBody RecordingVo recording);


}
